package com.cskaoyan.bean;

import java.io.Serializable;

public class Account implements Serializable {

    // 序列化id的作用是在反序列化的时候进行验证
    private static final long serialVersionUID = -4868768449218175862L;

    Integer id;

    String name;

    Integer money;



    @Override
    public String toString() {
        return "Account{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", money=" + money +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getMoney() {
        return money;
    }

    public void setMoney(Integer money) {
        this.money = money;
    }
}
